// /* pages/charge/index.wxss */
// .stepBox {
//   margin-top: 100rpx;
//   height: 600rpx;

//   .step {
//     position: absolute;
//     left: 50%;
//     transform: translateX( -50%);
//     z-index: 2;
//   }

//   .stepInnerBox {
//     position: absolute;
//     width: 220px;
//     height: 220px;
//     text-align: center;
//     top:49%;
//     left: 50%;
//     transform: translate(-50%, -50%);
//     color: white;
//     font-size: 50rpx;
//     border-radius: 50%;
//     background: rgba(0, 0, 0, 0.2);
//     backdrop-filter: blur(18px);
//     .stepInner {
//       position: relative;
//       top: 50%;
//       left: 50%;
//       transform: translate(-50%, -50%);
//       display: flex;
//       flex-direction: column;
//       justify-content: space-evenly;
//       height: 80px;

//       .charging {
//         height: 50rpx;
//         line-height: 50rpx;
//       }

//       .duration {
//         height: 50rpx;
//         line-height: 50rpx;
//         color: var(--small-color);
//         font-size: var(--small-font-size);
//       }
//     }
//   }
// }

// .bg {
//   // background-color: #1b1c21;
//   background-image: url('https://img.yzcdn.cn/vant/cat.jpeg');
// }

.box {
  width: 100vw;
  height: 100vh;
  background: #000;
  position: relative;
}

.contrast {
  width: 100%;
  height: 100%;
  background-color: #000;
  overflow: hidden;
  filter: contrast(15) hue-rotate(0);
  position: relative;
  animation: hueRotate 6s linear infinite;
}

@keyframes hueRotate {
  0% {
      filter: contrast(15) hue-rotate(0);
  }

  100% {
      filter: contrast(15) hue-rotate(360deg);
  }
}

.circle {
  width: 300px;
  height: 300px;
  position: absolute;
  top: 10px;
  left: 50%;
  margin-left: -150px;
  box-sizing: border-box;
  filter: blur(8px);
  animation: circleRotate 6s linear infinite;

}

.circle::before {
  content: "";
  height: 200px;
  width: 200px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(0);
  background: #00ff6f;
  border-radius: 42% 38% 62% 49% / 45%;

}

.circle::after {
  content: "";
  width: 176px;
  height: 178px;
  background: #000;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@keyframes circleRotate {
  0% {
      transform: rotate(0deg);
  }

  100% {
      transform: rotate(360deg);
  }
}

.bubble-home {
  width: 150px;
  height: 50px;
  background: #00ff6f;
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 0);
  border-radius: 100px 100px 0 0;
  filter: blur(5px);
}

.number {
  width: 300px;
  height: 300px;
  text-align: center;
  z-index: 9;
  font-size: 30px;
  line-height: 300px;
  color: white;
  position: absolute;
  left: 50%;
  top: 10px;
  transform: translate(-50%, 0%);
}

.bubble {
  background: #00ff6f;
  position: absolute;
  bottom: 0;
  border-radius: 100px 100px 0 0;
  filter: blur(5px);
  animation: moveUp ease-in-out infinite;
}

.bubble:nth-child(1) {
  width: 20px;
  height: 20px;
  left: 50%;
  animation-duration: 4s;
  animation-delay: 2s;
}

.bubble:nth-child(2) {
  width: 22px;
  height: 22px;
  left: 54%;
  animation-duration: 4.2s;
  animation-delay: 4s;
}

.bubble:nth-child(3) {
  width: 24px;
  height: 24px;
  left: 45%;
  animation-duration: 3s;
  animation-delay: 1s;
}

.bubble:nth-child(4) {
  width: 20px;
  height: 22px;
  left: 54%;
  animation-duration: 5s;
  animation-delay: 0s;
}

.bubble:nth-child(5) {
  width: 22px;
  height: 22px;
  left: 52%;
  animation-duration: 3.5s;
  animation-delay: 5s;
}

.bubble:nth-child(6) {
  width: 20px;
  height: 20px;
  left: 50%;
  animation-duration: 4.7s;
  animation-delay: 1.2s;
}

.bubble:nth-child(7) {
  width: 22px;
  height: 22px;
  left: 54%;
  animation-duration: 2.5s;
  animation-delay: 3.5s;
}

.bubble:nth-child(8) {
  width: 24px;
  height: 24px;
  left: 51%;
  animation-duration: 5.6s;
  animation-delay: 4.2s;
}

.bubble:nth-child(9) {
  width: 26px;
  height: 26px;
  left: 42%;
  animation-duration: 5.2s;
  animation-delay: 4s;
}

.bubble:nth-child(10) {
  width: 26px;
  height: 22px;
  left: 54%;
  animation-duration: 3.8s;
  animation-delay: 4.3s;
}

.bubble:nth-child(11) {
  width: 22px;
  height: 22px;
  left: 42%;
  animation-duration: 4.2s;
  animation-delay: 0.3s;
}

.bubble:nth-child(12) {
  width: 24px;
  height: 24px;
  left: 46%;
  animation-duration: 4.6s;
  animation-delay: 2.0s;
}

.bubble:nth-child(13) {
  width: 22px;
  height: 22px;
  left: 48%;
  animation-duration: 3.8s;
  animation-delay: 3.2s;
}

.bubble:nth-child(14) {
  width: 26px;
  height: 22px;
  left: 55%;
  animation-duration: 5.2s;
  animation-delay: 2.9s;
}

.bubble:nth-child(15) {
  width: 26px;
  height: 22px;
  left: 52%;
  animation-duration: 4.9s;
  animation-delay: 4.2s;
}



@keyframes moveUp {
  0% {
      bottom: 0;
  }

  100% {
      bottom: calc(100% - 265px);
  }
}

.panelBox{
  display: flex;
  position: absolute;
  bottom: 200rpx;
  left: 50%;
  transform: translateX(-50%);
  width: 90vw;
  height: 300rpx;
  border-radius: 10rpx;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(18px);
  color: white;
  .lef{
    width: 50%;
    height: 300rpx;
    .inner{
      position: relative;
      top: 30%;
      .item{
        text-align: center;
        font-size: 25rpx;
        color: rgb(168, 168, 168);
      }
      .val{
        font-size: 50rpx;
        text-align: center;
      }
    }
  }
  .rig{
    width: 50%;
    height: 300rpx;
    .inner{
      position: relative;
      top: 30%;
      .item{
        text-align: center;
        font-size: 25rpx;
        color: rgb(168, 168, 168);
      }
      .val{
        font-size: 50rpx;
        text-align: center;
      }
    }
  }
  .line{
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    width: 1rpx;
    height: 200rpx;
    background-color: white;
  }
}